﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> {$GetSiteName}-搜索-{@search.seotitle}</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="{$GetInstallDir}images/style.css" type=text/css rel=stylesheet>
<script src="{$GetInstallDir}ks_inc/jquery.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/common.js" type="text/javascript"></script>
{$GetMetaKeyWord}
{$GetMetaDescript}
<!--[if IE 6]>
<script src="{$GetInstallDir}js/iepng.js" type="text/javascript"></script>
<script type="text/javascript">
   EvPNG.fix('div, ul, img, li, input'); 
</script>
<![endif]-->
</head>
<body>



{LB_头部通用}
<div class="wrap"> 
 <div class="blank10"></div>
<div class="banner">{=GetAdvertise(36)}</div>
 <div class="blank10"></div>

<div class="demand_box">

	<div class="demand_l">
		{$GetTopClassName}
		<span class="orange"></span>

	</div>
	<div class="demand_r">
		<ul>
		{LB_子栏目导航}
		</ul>
	</div>
</div>

<!--主体begin-->

<div class="content">

<div class="mainpdbox clearfix">
    <div class="left">
	        <!--search begin-->
			 <div class="search01" style=" border:1px solid #E7E7E7;">
			  <div class="title"> 
			  
			  <H2>文章筛选</H2>
			  
			  				        <div class="keyform">
						
						
						
						<!---------------------搜索表单开始------------------------------------>
					<script type="text/javascript">
					$(function () {
					    initialSearchValue();
						$(document).bind('keydown', function (e) {
							var key = e.which;
							if (key == 13) {
								$('#searchbtn').focus();
								searchbykey()
							}
						});
					});
					 function initialSearchValue(){
					   
					    $('#searchform').find('input,select').each(function(){
					    var name=$(this).attr("name");
					    if (name!=undefined){
						   if (name=='queryparam'){
						    
						   }else{
						      v=getSearchValue(name);
						     if ($(this).attr("type")=="radio"){
							   if ($(this).val()==v){
							    $(this)[0].checked=true;
							   }
							 }else{
					           $(this).val(v);
							 }
						   }
						 }
					   });
					   
					    $('#searchform').find('select').each(function(){
					       var name=$(this).attr("name");
						    if (name!=undefined){
							  str+=","+name+"-"+$(this).val();
							}
						});
					 
					 
					 }
					 function getSearchValue(field){
					  var url=location.href.replace(/.html/g,'');
                      var parr=url.split('/');
					  var qparam=parr[parr.length-1];
					  qparam=qparam.substring(1).split(',');
					  for(var i=0;i<qparam.length;i++){
					     var fa=qparam[i].split('-');
						 if (fa[0]==field){
						  return fa[1];
						 }
					  }
                        return "";
					 }
					
					 function searchbykey(){
					   var str='';
					   var queryparam='';
					  
					   $('#searchform').find('input,select').each(function(){
					    var name=$(this).attr("name");
					    if (name!=undefined){
						   if (name=='queryparam'){
						    queryparam=$(this).val();
						   }else{
						     if ($(this).attr("type")=="radio"){
							   if ($(this)[0].checked==true){
							    str+=","+name+"-"+$(this).val();
							   }
							 }else if ($(this).val()!=''){
					           str+=","+name+"-"+$(this).val();
							 }
						   }
						 }
					   });
					 //   alert(queryparam+str);
						location.href=queryparam+str+".html";
					  
					 }
					</script>
					
					
						
					<form id="searchform" class="keywordform" action="?" method="get">
					 <input type='hidden' name='queryparam' id='queryparam' value='{@search.queryparam}'/>
					   <span>查找：</span>
					   
					    <select name="t">
					    <option value="1">标题</option>
					    <option value="2">内容</option>
					    <option value="7">简介</option>
					    <option value="3">作者</option>
					    <option value="8">发布日期</option>
					    <option value="5">关键字</option>
					   </select>
					   
					  关键字： <input class="kw" id="key" name="key" value="{@search.key}">
					 
					

					  
					<input class="fcsearch" id="searchbtn" onClick="searchbykey()" type="button" value="查找">   
					</form>
					<!---------------------搜索表单结束------------------------------------>
					
					
					
					
					
					</div> 

			  </div>
					
					
					
				  <div class="fieldmenu">
					 <div class="clear blank10"></div>
				  {@search.fieldmenu}
				  </div>
			 </div>
			 
			 <div class="blank10 clear"></div>
			<div class="ad680">{=GetAdvertise(13)}</div>
		 <div class="clear blank10"></div>

			 <div class="search02">
			 <!--筛选切换 start-->
			   <div class="tabtit">
					<div class="fcsearch_tabs">
							<ul>{@search.topmenu}</ul>
					  </div>
					  <div class="sear_result" style=" width:340px; float:right;"><select name="orderby" style=" padding-right:: 0px; padding-left:0px; padding-bottom:: 0px; margin: 0px; vertical-align: middle; padding-top: 0px; " onchange=javascript:if(this.value)window.location.href=this.value> 
							{@search.orderoptionlist}
						</select>
						  {@search.showkey}  找到 <span>{@search.totalput}</span> 条记录  用时：<font color=green>{@search.leavetime}</font>秒 
						  
					  </div>
				  </div>
				  <!--筛选切换 end-->
						<div class="clear"></div>
			       <!--筛选列表 start-->
					<div class="artlisting" style="border-left:1px solid #E7E7E7; border-right:1px solid #E7E7E7;" >
						  <ul>
						 {@loop.begin}
						<li> <a title="{@item.title}" href="{@item.linkurl}" target=_blank>{@item.title(Text,30,...,1,)}</a> 
						
						
						 <br/>
						  <span style="color:#999">{@item.intro}</span>
						<br/>
						 <span style="color:green"> <a href="{@item.linkurl}" style="color:green" target="_blank">{@item.linkurl}</a> {@item.adddate}</span>
						
						 </li>
						{@loop.end}
						</ul>
					</div>
					<div class="multipage" style=" border-bottom:#E7E7E7;"> {@search.showpage} </div>
		  <!--筛选列表end -->
			 </div>
			 
			<!--search end-->
	</div>
    <div class="right">
	   <!--right01 begin-->
	     <div class="ad">{=GetAdvertise(12)}</div>
		<div class="blank10 clear"></div>
	   <!--right01 end-->
	   <!--right02 begin-->
	    <div class="right02">
		   <div class="title"><h3>最新文章</h3></div>
		   <div class="right02box mynav">
		      <ul>
			     {LB_最新文章top10}
			  </ul>
		   </div>
		</div> 
	   <!--right02 end-->
		
       <div class="blank10 clear"></div>
	   <!--right02 begin-->
	    <div class="right02">
		   <div class="title"><h3>推荐文章</h3></div>
		   <div class="right02box mynav">
		      <ul>
			     {LB_推荐文章top10}
			  </ul>
		   </div>
		</div> 
	   <!--right02 end-->
	   
	   <div class="blank10 clear"></div>
	 
	</div>
</div>

</div>
<!--主体end-->
<div class="clear blank10"></div>
</div>
<!--版权信息-->
{LB_尾部通用}
<!--版权信息-->



</body>
</htm